Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |from_environment

std/secret::|from_environment


Usage

|from_environment(variable, name)

Parameters

↳ variable: string
↳ name: string

Return

↴ Secret<string>


Secret read from the environment variable variable when revealed.

Only variables whose name starts with MELODIUM_SECRET_ are given to programs.